package com.shr.lease.web.admin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.shr.lease.model.entity.LabelInfo;
import com.shr.lease.model.entity.RoomLabel;
import com.shr.lease.web.admin.service.RoomLabelService;
import com.shr.lease.web.admin.mapper.RoomLabelMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author liubo
* @description 针对表【room_label(房间&标签关联表)】的数据库操作Service实现
* @createDate 2023-07-24 15:48:00
*/
@Service
public class RoomLabelServiceImpl extends ServiceImpl<RoomLabelMapper, RoomLabel>
    implements RoomLabelService{

    @Resource
    private RoomLabelMapper roomLabelMapper;

    @Override
    public List<LabelInfo> listLabelInfo(Long roomId) {
        return roomLabelMapper.listLabelInfo(roomId);
    }
}




